import BaseTabBar from "@/components/layout/baseTabBar";
import { useLocation, Outlet } from "umi";
export default () => {
    const location = useLocation()
    // 针对指定页面不需要layout布局的,单独return不带包裹的Outlet
    if (location.pathname === "/login") {
        return <Outlet />
    }
    return <BaseTabBar></BaseTabBar>
}